#define  _CRT_SECURE_NO_WARNINGS 1		
#include<stdio.h>
int main()
int* selfDividingNumbers(int left, int right, int* returnSize) {
    int cnt = 0;
    int* P = (int*)malloc(sizeof(int) * (right - left + 1));
    for (int i = left; i <= right; i++)
    {
        int temp = i;
        while (temp)
        {
            if ((temp % 10 == 0) || (i % (temp % 10) != 0))
            {
                break;
            }
            temp /= 10;
        }
        if (temp == 0)
        {
            P[cnt++] = i;
        }
    }
    *returnSize = cnt;
    return P;
}